package cn.itcast.service;

import cn.itcast.domain.County;
import com.github.pagehelper.PageInfo;

import java.io.IOException;
import java.util.List;

public interface CountyService {
    List<County> findByName(String name) throws IOException;

    PageInfo<County> findAll(Integer pageNum,Integer pageSize) throws IOException;
}
